inherited frmSvcOrderBill: TfrmSvcOrderBill
  Left = 317
  Top = 168
  Caption = #32500#20462#27966#24037#21333
  PixelsPerInch = 96
  TextHeight = 12
  inherited pnlDBCtrl: TPanel
    inherited pnlThirdtrade: TPanel
      inherited lblTTtraderid: TcxLabel
        AnchorX = 78
      end
      inherited cxLabel1: TcxLabel
        Left = 216
        ExplicitLeft = 216
        AnchorX = 244
      end
      inherited lblTTBalanceid: TcxLabel
        Left = 381
        ExplicitLeft = 381
        AnchorX = 433
      end
    end
    inherited lblName: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited DtlPageCtrl: TcxPageControl
      inherited tabMain: TcxTabSheet
        ExplicitHeight = 258
        inherited sptDtl: TcxSplitter
          Width = 872
          ExplicitWidth = 872
        end
      end
      inherited tsSum: TcxTabSheet
        ExplicitHeight = 200
      end
    end
    inherited lblPrinted: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited dynlblCreate_by: TcxLabel
      AnchorX = 221
    end
    inherited dynlblCheck_by: TcxLabel
      AnchorX = 429
    end
    inherited dynlblFilid: TcxLabel
      AnchorX = 88
    end
    inherited dynlblDeptid: TcxLabel
      AnchorX = 301
    end
    inherited dynlblEmpid: TcxLabel
      AnchorX = 505
    end
    inherited dynlblBKind: TcxLabel
      AnchorX = 149
    end
  end
  inherited Panel1: TPanel
    inherited labFuncName: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited labFuncDesc: TcxLabel
      Style.IsFontAssigned = True
    end
  end
  inherited pnlBottom: TPanel
    inherited lblDepotQty: TcxLabel
      Style.IsFontAssigned = True
    end
  end
  inherited pmExec: TPopupMenu
    object muCompleted: TMenuItem [5]
      Caption = #23436#24037#22788#29702
      OnClick = muCompletedClick
    end
    object muUnCompleted: TMenuItem [6]
      Caption = #21453#23436#24037#22788#29702
      OnClick = muUnCompletedClick
    end
  end
  inherited cxStyleRepository1: TcxStyleRepository
    PixelsPerInch = 96
    inherited cxGridBandedTableViewStyleSheet1: TcxGridBandedTableViewStyleSheet
      BuiltIn = True
    end
  end
  inherited pmDetail2: TPopupMenu
    object muProductCompleted: TMenuItem
      Caption = #23436#24037#22788#29702
      OnClick = muProductCompletedClick
    end
    object muUnProductCompleted: TMenuItem
      Caption = #21453#23436#24037#22788#29702
      OnClick = muUnProductCompletedClick
    end
  end
  object qryRawSub: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select m.*,'
      '     p.code as p_code,p.name as p_name,p.spec as p_spec,'
      
        '     u.unitname as unitname,l.unitname unitassname,m.quantity as' +
        ' needqty'
      '     from tb_mnfmachiningrawsub m'
      '     left join td_product p on p.p_id=m.subproductid'
      
        '     left  join td_unitprice u on u.productid=m.subproductid and' +
        ' baseunit=1'
      
        '     left join td_unitprice l on (l.u_no=0 and M.subproductid=l.' +
        'productid)'
      '     where m.bid=:bid')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Left = 268
    Top = 421
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'bid'
        Value = nil
      end>
  end
end
